package com.onesports.intelligent.k12.polarlight.domain.vo.report;

import cn.gjing.excel.base.annotation.Excel;
import cn.gjing.excel.base.annotation.ExcelField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Excel("财务统计表")
public class FinanceVO {

    @ApiModelProperty(value = "订单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ExcelField(value = "订单时间",format = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    @ApiModelProperty(value = "订单号")
    @ExcelField(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "应付金额")
    @ExcelField(value = "应付金额",format = "0.00")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "优惠金额")
    @ExcelField(value = "优惠金额",format = "0.00")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "实付金额")
    @ExcelField(value = "实付金额",format = "0.00")
    private BigDecimal actuallyAmount;

    @ApiModelProperty(value = "团长分佣")
    @ExcelField(value = "团长分佣",format = "0.00")
    private BigDecimal headSubLedger;

    @ApiModelProperty(value = "校区名称")
    @ExcelField(value = "校区")
    private String campusName;

    @ApiModelProperty(value = "校区分账")
    @ExcelField(value = "校区分账",format = "0.00")
    private BigDecimal campusSubLedger;

    @ApiModelProperty(value = "教练名称")
    @ExcelField(value = "教练")
    private String coachName;

    @ApiModelProperty(value = "教练分账")
    @ExcelField(value = "教练分账",format = "0.00")
    private BigDecimal coachSubLedger;
}
